Package com.cisco.pt.ipc.sim.pdu.impl
Class OSPFv6InterAreaPrefixLSAImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFv6LSAImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFv6InterAreaPrefixLSAImpl
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
headerFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) intvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetIpv6AddressPrefix(OSPFv6Prefix ipv6AddressPrefix) voidsetMetric(int metric) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
getHeader, setHeaderMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
metric
protected int metric -
ipv6AddressPrefix
-
-
Constructor Details
-
OSPFv6InterAreaPrefixLSAImpl
public OSPFv6InterAreaPrefixLSAImpl()
-
-
Method Details
-
getMetric
public int getMetric()- Specified by:
getMetricin interfaceOSPFv6InterAreaPrefixLSA- Returns:
- int Returns a int
-
setMetric
public void setMetric(int metric) - Specified by:
setMetricin interfaceOSPFv6InterAreaPrefixLSA- Parameters:
metric- Takes in a parameter of metric
-
getIpv6AddressPrefix
- Specified by:
getIpv6AddressPrefixin interfaceOSPFv6InterAreaPrefixLSA- Returns:
- OSPFv6Prefix Returns a OSPFv6Prefix
-
setIpv6AddressPrefix
- Specified by:
setIpv6AddressPrefixin interfaceOSPFv6InterAreaPrefixLSA- Parameters:
ipv6AddressPrefix- Takes in a parameter of ipv6AddressPrefix
-
getFieldType
- Overrides:
getFieldTypein classOSPFv6LSAImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classOSPFv6LSAImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classOSPFv6LSAImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classOSPFv6LSAImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classOSPFv6LSAImpl
-